import Vue  from "vue"
import Vuex from "vuex"

import moduleCart from "@/store/cart.js"
import moduleUser from '@/store/user.js'

Vue.use(Vuex)

const store = new Vuex.Store({
	modules:{
		'm_cart':moduleCart,
		'm_user': moduleUser,
	} //挂载子vuex模块
	
})

export default store